PentestThinkingMCP is an automated penetration testing framework based on large language models and the MCP protocol. It can plan attack paths through Beam Search and MCTS algorithms, providing step reasoning, tool recommendation, and key path analysis for CTF, HTB, and real - world penetration testing.